package com.victor.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.victor.entity.Footprint;
@Mapper
public interface FootprintDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Footprint record);

    int insertSelective(Footprint record);
    /**
     * 查询景区足迹浏览次数
     * @param city
     * @param uid
     * @return
     */
    List<Footprint> selectByPrimaryKey(@Param("city")String city,@Param("uid") String uid);

    int updateByPrimaryKeySelective(Footprint record);

    int updateByPrimaryKey(Footprint record);
}